from config import *

class Log(object):
    @staticmethod
    def printToFile(text):
        if loggingEnabled:
            open(installdir + "log.txt", "a").write(str(text)+"\n")